package com.union.core.information.dao;

import java.util.List;

import com.union.core.information.model.KnowledgeManage;

/**
 * 接口类: 知识管理
 * filename: KnowledgeManageDao.java
 * project:  union
 * @company Hainan Jowe Technology Ltd
 * @author Harry Zhang
 * @create in 2012-11-05
 * @version 1.0
 */
public interface KnowledgeManageDao {
	public boolean addKnowledge(KnowledgeManage knowledgeManage);
	public boolean delKnowledge(int id);
	public List<KnowledgeManage> queryList(int id,String knowledge_title,String knowledge_content,
			String release_name,String release_time,int organization_id,int person_id,String organization_name,
			String startDate,String endDate,String paraName,String paraVal,String orderBy,int start,int pagecount);
	public int queryListCount(int id,String knowledge_title,String knowledge_content,
			String release_name,String release_time,int organization_id,int person_id,String organization_name,
			String startDate,String endDate,String paraName,String paraVal);
	public boolean editKnowledge(KnowledgeManage knowledgeManage);
	public KnowledgeManage queryById(int id);
}
